package org.jeecg.modules.online.low.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: low_app_menu
 * @Author: jeecg-boot
 * @Date: 2021-07-13
 * @Version: V1.0
 */
@Data
@TableName("low_app_menu")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "low_app_menu对象", description = "low_app_menu")
public class LowAppMenu implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;
    /**
     * 菜单名称
     */
    @Excel(name = "menuName", width = 15)
    @ApiModelProperty(value = "menuName")
    private java.lang.String menuName;
    /**
     * 菜单地址
     */
    @Excel(name = "menuUrl", width = 15)
    @ApiModelProperty(value = "menuUrl")
    private java.lang.String menuUrl;
    /**
     * 应用ID
     */
    @Excel(name = "appId", width = 15)
    @ApiModelProperty(value = "appId")
    private java.lang.String appId;
    /**
     * 菜单类型，详见 LowAppMenuType 类
     */
    @Excel(name = "type", width = 15)
    @ApiModelProperty(value = "type")
    private java.lang.String type;
    /**
     * 父ID
     */
    @Excel(name = "parentId", width = 15)
    @ApiModelProperty(value = "parentId")
    private java.lang.String parentId;
    /**
     * AntDesign的图标类型
     */
    @Excel(name = "iconType", width = 15)
    @ApiModelProperty(value = "type")
    private java.lang.String iconType;
    /**
     * 排序
     */
    @Excel(name = "orderNum", width = 15)
    @ApiModelProperty(value = "orderNum")
    private java.lang.Integer orderNum;

    /**
     * 删除状态（0，正常，1已删除）
     */
    @TableLogic
    private java.lang.Integer delFlag;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 修改时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
}
